home *** CD-ROM | disk | FTP | other *** search
/ Palm Utilities / Palm_Utilities_CD-ROM_2001_2001.iso / files / utils sync / JetSync 1.0 / jetsync-1.0.exe / jetsync-1.0 / configure.in < prev    next >
Encoding:
Text File  |  1999-09-30  |  1.3 KB  |  33 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(src/todo/lists.c)
  3.  
  4. dnl Checks for programs.
  5. AC_PROG_CC
  6. AC_PROG_MAKE_SET
  7. AC_PROG_RANLIB
  8.  
  9. dnl Checks for libraries.
  10. LIBS="-L/usr/X11/lib $LIBS"
  11. AC_CHECK_LIB(X11, XInitThreads,,AC_MSG_ERROR([*** X is not installed. Please install it first ***]))
  12. AC_CHECK_LIB(dl, main, LIBS="$LIBS -ldl",AC_MSG_ERROR([*** libdl is not installed ***]))
  13. AC_CHECK_LIB(m, main, LIBS="$LIBS -lm",AC_MSG_ERROR([*** libm is not installed ***]))
  14. AC_CHECK_LIB(pisock,dlp_WriteRecord,LIBS="$LIBS -lpisock",AC_MSG_ERROR([*** libpisock is not installed. Please install it first ***]))
  15. AC_CHECK_LIB(tcl8.0,Tcl_Init,LIBS="$LIBS -ltcl8.0",AC_MSG_ERROR([*** Tcl is not installed. Please install it first ***]))
  16. AC_CHECK_LIB(tk8.0,Tk_Init,LIBS="$LIBS -ltk8.0",AC_MSG_ERROR([*** Tk is not installed. Please install it first ***]))
  17.  
  18. AC_SUBST(LIBS)
  19.  
  20. dnl Checks for header files.
  21. AC_HEADER_STDC
  22. AC_CHECK_HEADERS(limits.h unistd.h pwd.h)
  23.  
  24. dnl Checks for typedefs, structures, and compiler characteristics.
  25. AC_STRUCT_TM
  26.  
  27. dnl Checks for library functions.
  28. AC_TYPE_SIGNAL
  29. AC_FUNC_STRFTIME
  30. AC_CHECK_FUNCS(mkdir mktime strdup)
  31.  
  32. AC_OUTPUT(src/memo/Makefile src/todo/Makefile src/libjetsync/Makefile src/Conduits/Makefile src/Makefile Makefile src/addr/Makefile)
  33.